package com.xishu.entity.shop;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class ItemNumber implements Serializable {
    private static final long serialVersionUID = -1425043496009352662L;

    @ApiModelProperty(value = "菜品ID")
    private Long itemId;

    @ApiModelProperty(value = "菜的数量")
    private Integer number;

    public ItemNumber(Long itemId, Integer number) {
        this.itemId = itemId;
        this.number = number;
    }
}
